function loginVerify(){

    const password = login_form.password.value;
    const account = login_form.username.value;
    const username_regex = /^[a-zA-Z][a-zA-Z0-9_]{3,18}$/;
    const password_regex = /^[A-Za-z0-9._~!@#$^&*]{3,20}$/;

    if(!password_regex.exec(password) || !username_regex.exec(account)) {
        if (!password_regex.exec(account)) {
            document.getElementById("verify-box-1").style.display = "block";
        }
        if (!username_regex.exec(password)) {
            document.getElementById("verify-box-2").style.display = "block";
        }
        return false;
    }
    return true
}


function resetVerifyBoxes() {

    const boxes = document.getElementsByClassName("verify-box")

    for (let i = 0; i < boxes.length; i++) {
        boxes[i].style.display="none"
    }
}


window.onload = function () {

    const logo = document.getElementById("logo-painting").value;
    console.log("\x1B[32m" + logo + "\nWelcome to the System.\n\nDesigned by Team BluePen.")
}